package com.slife.snap.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * 
 * @TableName tb_opt_log
 */
@TableName(value ="tb_opt_log")
public class TbOptLog implements Serializable {
    /**
     * 
     */
    @TableId
    private String id;

    /**
     * 操作人 
     */
    private String operator;

    /**
     * 类型
     */
    private String type;

    /**
     * 内容
     */
    private String content;


    /**
     * 成功
     */
    private String success;

    /**
     * 结果
     */
    private String result;

    /**
     * 报错信息
     */
    private String errorMsg;

    /**
     * 详情
     */
    private String details;

    /**
     * 
     */
    private String tenant;

    /**
     * 
     */
    private String platform;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 当前分页 */
    @TableField(exist = false)
    private Integer pageNum;
    /** 分页长度 */
    @TableField(exist = false)
    private Integer pageSize;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    /**
     * 
     */
    public String getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 操作人 
     */
    public String getOperator() {
        return operator;
    }

    /**
     * 操作人 
     */
    public void setOperator(String operator) {
        this.operator = operator;
    }

    /**
     * 类型
     */
    public String getType() {
        return type;
    }

    /**
     * 类型
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 内容
     */
    public String getContent() {
        return content;
    }

    /**
     * 内容
     */
    public void setContent(String content) {
        this.content = content;
    }


    /**
     * 成功
     */
    public String getSuccess() {
        return success;
    }

    /**
     * 成功
     */
    public void setSuccess(String success) {
        this.success = success;
    }

    /**
     * 结果
     */
    public String getResult() {
        return result;
    }

    /**
     * 结果
     */
    public void setResult(String result) {
        this.result = result;
    }

    /**
     * 报错信息
     */
    public String getErrorMsg() {
        return errorMsg;
    }

    /**
     * 报错信息
     */
    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    /**
     * 详情
     */
    public String getDetails() {
        return details;
    }

    /**
     * 详情
     */
    public void setDetails(String details) {
        this.details = details;
    }

    /**
     * 
     */
    public String getTenant() {
        return tenant;
    }

    /**
     * 
     */
    public void setTenant(String tenant) {
        this.tenant = tenant;
    }

    /**
     * 
     */
    public String getPlatform() {
        return platform;
    }

    /**
     * 
     */
    public void setPlatform(String platform) {
        this.platform = platform;
    }


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", operator=").append(operator);
        sb.append(", type=").append(type);
        sb.append(", content=").append(content);
        sb.append(", success=").append(success);
        sb.append(", result=").append(result);
        sb.append(", errorMsg=").append(errorMsg);
        sb.append(", details=").append(details);
        sb.append(", tenant=").append(tenant);
        sb.append(", platform=").append(platform);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}